package com.lovo.service;

import com.lovo.bean.Supplierproduct;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lovo
 * @since 2022-09-17
 */
public interface ISupplierproductService extends IService<Supplierproduct> {


    public List<Supplierproduct> findAllProductBySupId(int supId);

    public void delProduct(int supplierProductId);

    public void updateProductPriceById(Integer productId, Integer price);

    public void addProduct(Supplierproduct supplierproduct);

    public Supplierproduct findByName(String productName,Integer supId);
}
